<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/jwplayer.js"></script>
<script>
function loadJar(key){
                $.get('http://playerkorra.googlecode.com/svn/trunk/php/ini.php?'+unescape(''+key), function(data) {
                $('#player').html(data);
                });
        }
 
function putplayer(elvideo){
                jwplayer('http://playerkorra.googlecode.com/svn/trunk/player/player.swf').setup({
                                'flashplayer': 'http://playerkorra.googlecode.com/svn/trunk/player/player.swf',
                                'file': ''+elvideo,
                                'autostart' : 'false',
                                'controlbar': 'bottom',
                                'skin': "http://playerkorra.googlecode.com/svn/trunk/player/stormtrooper.zip",
                                'provider':'video',
                                'width': '100%',
                                'height': '100%',
                                'dock':false,
                                plugins: {
                                                'captions-2': {
                                                  fontsize: '17',
                  color:'#00FFFF',
                   'file': 'http://playerkorra.googlecode.com/svn/trunk/player/sub/<?php echo $_GET['sub'] ?>.srt'
 
                                                        }
                                                 }
                          });
        }
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
 
<center>
<div id="player" align="center" class="panel prueda">
<div style="font-weight:bold; font-size:21px; padding-top:1em;">Elige un Servidor.</div>
<div style="margin:1em; height:68%;">
<?php
$bande=false;
 
 
        $limit=explode(',','zp,vd,up,180,mv,sm,trb,ams,put,4up,vdx,vtv,1fi,dno,stv,pic,lti,hls,vim,flx,mgn,nov,vk,usp,nwv,fks,4s,uaf,ytb');
   for($i=0;$i<sizeof($limit);$i++){
       if($_GET[''.$limit[$i]]!=''){
          $key=escape($limit[$i].'='.$_GET[''.$limit[$i]]);
?>
   <script>
          var key='<?php echo $key;?>'
          loadJar(key);
          </script>      
<?php
         echo $img='<a href="javascript:void(0)" onClick="loadJar(\''.$key.'\')"><img class="irueda" src="http://playerkorra.googlecode.com/svn/trunk/image/'.$limit[$i].'.png" width="85" height="35"></a> ';
         $bande=true;
       }
   }
       
        if(!$bande){?>
    Generador de Stream Gratuito.
    <div style="margin-top:1em;">
    ID: <input name="id" type="text" id="id" size="30" /> <select name="hostt" id="hostt">
      <option value="zp">zippyshare</option>
      <option value="vd">vidbull</option>
      <option value="up">uptobox</option>
      <option value="nwv">nowvideo</option><option value="usp">userporn</option><option value="vk">vk</option><option value="nov">novamov</option><option value="mgn">magnovideo</option><option value="flx">filebox</option><option value="vim">vimeo</option><option value="hls">hulkshare</option><option value="lti">letitbit</option><option value="pic">picasa</option><option value="stv">streamvideo</option><option value="dno">donevideo</option><option value="1fi">1fichier</option><option value="vtv">videomega</option><option value="vdx">vidbux</option><option value="180">180upload</option><option value="mv">movshare</option><option value="sm">smotri</option><option value="trb">turbobit</option><option value="ams">amonshare</option><option value="4up">4up.im</option>
    </select> <input type="button" value="Agregar" onclick="addHost()" />
    </div>
    <div style="margin-top:4em;" id="tcode"></div>
    <script>
        putCode(hostx);
    </script>
        <?php }
       
        function escape($cadena_entrada){
                $cadena_salida="";
                $longitud=strlen($cadena_entrada);
                for($cuenta=0; $cuenta<$longitud; $cuenta++){
                        $cadena_salida.="%".dechex(ord(substr($cadena_entrada,$cuenta,1)));
                }      
                return $cadena_salida;
        }
?>
</div>
<div style="font-size:10px;">Los servidores que alojan los videos son externos y ajenos a nuestro sitio web. No podemos garantizar la funcionalidad de los mismos ni nos hacemos responsables por su contenido. Simplemente recopilamos e indexamos archivos alojados en ellos.</div>
Progamacion by xlFederalElk0lx.
</div>
</center>